package com.hjsmallfly.syllabus.repository.lesson

import com.hjsmallfly.syllabus.room.record.LessonRecord
import rx.Observable

interface LessonDataSource {
    fun queryLessonDetail(cid: Long, isCache: Boolean): Observable<LessonRecord>
    fun saveLesson(lesson: LessonRecord): Observable<Boolean>
}